//
//  ViewController.swift
//  组件化测试
//
//  Created by Red App on 2019/1/9.
//  Copyright © 2019 CEC-CESEC. All rights reserved.
//

import UIKit

class ViewController: UIViewController {

    override func viewDidLoad() {
        super.viewDidLoad()
        // Do any additional setup after loading the view, typically from a nib.
    }

    @IBAction func aBtnFunc(_ sender: Any) {
        STRouterTool.gotoVc(sVc: self, destVcStr: "AViewController", para: nil) { (info) in
            print(info)
        }
    }
    @IBAction func bBtnFunc(_ sender: Any) {
        STRouterTool.gotoVc(sVc: self, destVcStr: "BViewController", para: nil) { (info) in
            print(info)
        }
    }
    @IBAction func cBtnFunc(_ sender: Any) {
        STRouterTool.gotoVc(sVc: self, destVcStr: "CViewController", para: nil) { (info) in
            print(info)
        }
    }
    @IBAction func dBtnFunc(_ sender: Any) {
        STRouterTool.gotoVc(sVc: self, destVcStr: "DViewController", para: nil) { (info) in
            print(info)
        }
    }
    
    @IBAction func eBtnFunc() {
        STRouterTool.gotoVc(sVc: self, destVcStr: "DViewController", para: nil) { (info) in
            print(info)
        }
    }
    
    override func touchesBegan(_ touches: Set<UITouch>, with event: UIEvent?) {
        
    }
}

